package com.tang.hawkmusic.bean;

import java.io.Serializable;
import java.util.List;

/*用户信息*/
public class UserInfo implements Serializable {

    /**
     * loginType : 1
     * code : 200
     * account : {"id":1623004096,"userName":"1_13104934286","type":1,"status":0,"whitelistAuthority":0,"createTime":1538558565843,"salt":"[B@73ad84e7","tokenVersion":3,"ban":0,"baoyueVersion":0,"donateVersion":0,"vipType":0,"viptypeVersion":0,"anonimousUser":false}
     * token : bd427b29939709b7f065d8fb24b8b4e474c56d7f5e8721497cd9e33a091a7d59d106471d18c1d4a4
     * profile : {"description":"","defaultAvatar":false,"city":440100,"province":440000,"nickname":"Tangming991","avatarImgId":109951164359860110,"vipType":0,"gender":1,"avatarUrl":"https://p3.music.126.net/v55iL-eRP-jsSTSaj2HxXg==/109951164359860115.jpg","djStatus":0,"backgroundImgId":109951164358926780,"accountStatus":0,"birthday":892656000000,"backgroundImgIdStr":"109951164358926787","backgroundUrl":"https://p3.music.126.net/IWXIK3jDfIgwaXUvdylI-w==/109951164358926787.jpg","detailDescription":"","followed":false,"avatarImgIdStr":"109951164359860115","userId":1623004096,"userType":0,"expertTags":null,"authStatus":0,"mutual":false,"remarkName":null,"experts":{},"signature":"","authority":0,"avatarImgId_str":"109951164359860115","followeds":2,"follows":0,"eventCount":0,"avatarDetail":null,"playlistCount":11,"playlistBeSubscribedCount":0}
     * bindings : [{"tokenJsonStr":"{\"countrycode\":\"\",\"cellphone\":\"13104934286\",\"hasPassword\":true}","expiresIn":2147483647,"bindingTime":1538558618419,"refreshTime":1538558618,"expired":false,"url":"","userId":1623004096,"id":6691172712,"type":1},{"tokenJsonStr":"{\"access_token\":\"1AD835C41B397979EBD472D58A40E93F\",\"unionid\":\"UID_E309C907759F71873781BD66153283E9\",\"openid\":\"1B7EC84B4D6CEBC44DF8A28FCB4E3F60\",\"nickname\":\"我比钻石还耀眼\",\"partnerType\":\"0\",\"expires_in\":7776000}","expiresIn":7776000,"bindingTime":1567958203100,"refreshTime":1567958203,"expired":true,"url":"","userId":1623004096,"id":6957106635,"type":5},{"tokenJsonStr":"{\"access_token\":\"38_uUexxradYOTBMdycHfdNpZ_ukQA_NYCM4n_dHWKKwqc8YVGiS-Up3xqKrO-A9LJROl8tkXYKPSKSMBqDHv2Yjp1IMOCORlvp4D2s0wDQYIs\",\"expires_in\":7200,\"refresh_token\":\"38_8PixmqVx7-jUnVd15CAmAKFZpcVe3mNvRoWzw5gxEEVPxdTI0jojTZMM12tNDN_EYplxvYOR1rQxKc59umdgP7g7p6gX57wxM4p870d9v9E\",\"openid\":\"o5xcyt8Vur93u5qVZKqr05aDR0pk\",\"scope\":\"snsapi_login\",\"unionid\":\"oZoefuANW45X2QFYn7DDJrjRwfsw\",\"nickname\":\"🇹 🇦 🇳 🇬\",\"birthday\":-2209017600000,\"country\":\"CN\",\"gender\":1,\"avatarUrl\":\"https://thirdwx.qlogo.cn/mmopen/vi_32/V88ayRzQjW24EHvlsO1PGL0Agq4nzjias9wPVq6lNLHKNyjVCSRKt6iciaBooyyGmwDmzgJOta0NVf9REib1PfFpCw/132\",\"city\":100,\"signature\":null,\"mobile\":null,\"screenName\":null,\"uid\":\"oZoefuANW45X2QFYn7DDJrjRwfsw\",\"province\":0,\"followersCount\":0,\"followingsCount\":0}","expiresIn":7200,"bindingTime":1538558568295,"refreshTime":1603181749,"expired":true,"url":"","userId":1623004096,"id":6691071557,"type":10}]
     * cookie : __csrf=845861c0ac8061cc8a3cc427ea99e836; Max-Age=1296010; Expires=Sun, 21 Feb 2021 01:01:32 GMT; Path=/;;MUSIC_U=bd427b29939709b7f065d8fb24b8b4e474c56d7f5e8721497cd9e33a091a7d59d106471d18c1d4a4; Max-Age=1296000; Expires=Sun, 21 Feb 2021 01:01:22 GMT; Path=/;;__remember_me=true; Max-Age=1296000; Expires=Sun, 21 Feb 2021 01:01:22 GMT; Path=/;;NMTID=00O3YfBIFd4Lycv907yp8XHr_BcuBEAAAF3dNuSCA; Max-Age=315360000; Expires=Tue, 4 Feb 2031 01:01:22 GMT; Path=/;
     */

    private Integer loginType;
    private Integer code;
    private AccountDTO account;
    private String token;
    private ProfileDTO profile;
    private String cookie;
    private List<BindingsDTO> bindings;

    public Integer getLoginType() {
        return loginType;
    }

    public void setLoginType(Integer loginType) {
        this.loginType = loginType;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public AccountDTO getAccount() {
        return account;
    }

    public void setAccount(AccountDTO account) {
        this.account = account;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public ProfileDTO getProfile() {
        return profile;
    }

    public void setProfile(ProfileDTO profile) {
        this.profile = profile;
    }

    public String getCookie() {
        return cookie;
    }

    public void setCookie(String cookie) {
        this.cookie = cookie;
    }

    public List<BindingsDTO> getBindings() {
        return bindings;
    }

    public void setBindings(List<BindingsDTO> bindings) {
        this.bindings = bindings;
    }

}
